<?php
require_once 'AuthSingleton.php';

$auth = AuthSingleton::instance();
$auth->start();

if( !$auth->getAuth() ) 
{
    //No access
    die();
}
 
if(isset($_GET['logout'])){$auth->logout();$auth->start();}
?>
